center box: complete the baseline support
authorMatthias Clasen <mclasen@redhat.com>
Sat, 10 Jun 2017 13:14:16 +0000 (09:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 10 Jun 2017 13:14:16 +0000 (09:14 -0400)
commitf135b2527f722cd0b4d22290a1e8f55ac9725d1e
tree479e5cef72126413aebbba472f5b3b614e197f16
parent8316ec85f500107eccb0de5d9d84abc6e8044e91
center box: complete the baseline support

When there is no externally allocated baseline, we should
do the same thing that GtkBox does, and determine one from
the children that want baseline alignment.

This commit adds a GtkCenterBox::baseline-position property
with setters and getters.
docs/reference/gtk/gtk4-sections.txt
gtk/gtkcenterbox.c
gtk/gtkcenterbox.h